<div id="container">
    <form method="post" id="users" name="users">
        <div class="user-item">
            <label class="label-user">E-mail</label>
            <input readonly id="username" name="username" style="border: 1px solid #ccc" type="text" value="<?php echo $email; ?>">
            <label style="display: none" class="error-notice email-error">Email không hợp lệ</label>
        </div>
        <div class="user-item">
            <label class="label-user">Quyền</label>
            <select name="group" style="border: 1px solid #ccc">
                <?php
                    if($level == 1){
                        ?>
                            <option selected value="1">Administrator</option>
                            <option value="2">Member</option>
                        <?php
                    }else{
                        ?>
                            <option value="1">Administrator</option>
                            <option selected value="2">Member</option>
                        <?php
                    }
                ?>
            </select>
        </div>
        <div class="user-item">
            <label class="label-user">Họ tên</label>
            <input name="name" autocomplete="off" style="border: 1px solid #ccc" type="text" value="<?php echo $name; ?>" >
        </div>
        <div class="user-item">
            <label class="label-user">Điện thoại</label>
            <input name="phone" style="border: 1px solid #ccc" type="text" value="<?php echo $phone; ?>">
        </div>
        <div class="user-item">
            <label class="label-user">Địa chỉ</label>
            <input name="address" style="border: 1px solid #ccc" type="text" value="<?php echo $address; ?>" >
        </div>

        <div class="user-item">
            <input class="button-item" type="submit" value="Cập nhật">
        </div>
    </form>
</div>